module.exports = {
  publicPath:'/',
  css: {
    loaderOptions: {
        sass: {
            data: '@import "~@/style/global.scss";'
        }
    }
},
runtimeCompiler: true,
  // NOTE: set alias via `configureWebpack` or `chainWebpack`
  configureWebpack: {
    resolve: {
      alias: {
        'balm-ui-plus': 'balm-ui/dist/balm-ui-plus.js',
        'balm-ui-css': 'balm-ui/dist/balm-ui.css'
      }
    }
  },
  devServer:{
    proxy:{
      '/api':{
        target:'http://localhost:80/',
        changeOrigin:true,
        pathRewrite:{
          '^/api':''
        }
      }
    }
  }
}
